/**
 * @file dal_rng.h
 * @author your name (you@domain.com)
 * @brief
 * @version 0.1
 * @date 2025-01-13
 *
 * @copyright Copyright (c) 2025
 *
 */
#ifndef DAL_RNG_H
#define DAL_RNG_H

/* includes ----------------------------------------------------------*/
#include "hdl_auto_init.h"
#include "hdl_rng.h"

/* typedef -----------------------------------------------------------*/
typedef struct
{
    void (*init)(void);
    uint32_t (*rng_read)(void);
} rng_manger_t;
/* define ------------------------------------------------------------*/
/* variables ---------------------------------------------------------*/
/* function prototypes -----------------------------------------------*/

/**
 * @brief 产生固定范围随机数
 *
 * @param min
 * @param max
 * @return uint32_t
 */
uint32_t _u32dal_generate_fixed_range(uint32_t min, uint32_t max);
#endif
